/**
* desc：App组件样式表
* author：王文军
* date：2021/5/28 12:02
*/
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: white;
  height: 100%;
  width: 100%;
  .header{
    background-color: red;
    height: 60px;
    &.green{
      background-color: green;
    }
  }
  .viewport{
    position: absolute;
    top: 200px;
    height: 100px;
    width: calc(100% - 4px);
    border: 2px solid  orange;
    overflow-y: scroll;
    .scroll{
      .box{
        height: 100px;
        width: 100px;
        background-color: firebrick;
        margin-bottom: 10px;
      }
      .child{
        height: 100px;
        width: 100px;
        background-color: green;
      }
    }
  }
}
